<!doctype html>
<html lang="en" translate="no">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/favicon.ico" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />

  <!--ios和Android都支持-->
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <!--仅Android支持-->
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="#2D1A5C" />
  <meta name="theme-color" content="#2D1A5C" />
  <link rel="manifest" href="/manifest.json">
  <title>PKBET</title>
  <script>
    const url = new URL(window.location.href);
    const token = url.searchParams.get('token');
    const userId = url.searchParams.get('user_id');
    if (token) {
      localStorage.setItem('user', `{"token":"${token}","user_id": "${userId}"}`)
    }
    // !(function (n, e) {
    //   function setViewHeight() {
    //     var windowVH = e.innerHeight / 100
    //     n.documentElement.style.setProperty('--vh', windowVH + 'px')
    //   }
    //   var i = 'orientationchange' in window ? 'orientationchange' : 'resize'
    //   n.addEventListener('DOMContentLoaded', setViewHeight)
    //   e.addEventListener(i, setViewHeight)
    // })(document, window)
  </script>

  <script
    src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_33782_106.68b3c252667a7603aea8365bc9b295ff.js"></script>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>